package com.ruoyi.project.shop.service.impl;


import com.ruoyi.project.shop.dao.ShopUserRoleDao;
import com.ruoyi.project.shop.domain.ShopUserRoleDO;
import com.ruoyi.project.shop.service.ShopUserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class ShopUserRoleServiceImpl implements ShopUserRoleService {
	@Autowired
	private ShopUserRoleDao shopUserRoleDao;
	
	@Override
	public ShopUserRoleDO get(Long suserId){
		return shopUserRoleDao.get(suserId);
	}
	
	@Override
	public List<ShopUserRoleDO> list(Map<String, Object> map){
		return shopUserRoleDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return shopUserRoleDao.count(map);
	}
	
	@Override
	public int save(ShopUserRoleDO shopUserRole){
		return shopUserRoleDao.save(shopUserRole);
	}
	
	@Override
	public int update(ShopUserRoleDO shopUserRole){
		return shopUserRoleDao.update(shopUserRole);
	}
	
	@Override
	public int remove(Long suserId){
		return shopUserRoleDao.remove(suserId);
	}
	
	@Override
	public int batchRemove(Long[] suserIds){
		return shopUserRoleDao.batchRemove(suserIds);
	}

    @Override
    public List<ShopUserRoleDO> likeList(Map<String, Object> map){
        return shopUserRoleDao.likeList(map);
    }
    @Override
    public int likeListCount(Map<String, Object> map){
        return shopUserRoleDao.likeListCount(map);
    }
	
}
